|
![](/i/fill.gif) |
Alain <ele### [at] netscape net> wrote:
> In POV-Ray you can always set those parameters with a full colour instead of
> shades of gray. diffuse 1 get promoted to diffuse<1,1,1>.
>
> The following are all legal:
> ambient <1,0.5,0.1>/10 // give a red tint to your shadowed areas. Also to the
> rest of the object.
> diffuse <0.2, 1, 0.898> // This object will apears blue-green
> specular <0.5,0.3,0.8> // bluish megenta specular highlights.
> phong <0,1,0> // green phong highlight
>
> If you want rgb value in the 0-255 range, just divide the colour vector by 255.
Tried it, but the only one that allows a vector is ambient, the others do not.
Also the ambient vector does not work as expected, instead of setting the
ambient colour to that colour it just seems to change it to the equivalent
percentage (float) value.
Post a reply to this message
|
![](/i/fill.gif) |